package com.hnust.service;

import com.hnust.domain.Class;
import com.hnust.domain.Student;
import com.hnust.domain.TestMajorAndGrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Yjx
 * @Data: 2021/12/11 19:48
 * @Version 1.0
 * @Project_Name: exam-master
 * @describe
 */

public interface PaperResultService {
    public List<TestMajorAndGrade> getMajor(String examId);  //通过examId获取专业Id

    public String getMajorName(String test_majid);  //获取专业名

    public List<Class> getClassId(String test_majid,String test_grade);  //通过专业Id获取班级Id

    public List<Student> getStudentByClassId(String classId); //通过班级获取学生

    public String getStudentGrade(String testid,String studentId); //获取学生考试分数

    public String getTestName(String testid); //获取考试名称
}
